<template>
	<view>
		<u-empty
			:show="!list.length"
			marginTop="20rpx"
			:mode="mode"
			:text="text"
		>
		</u-empty>
	</view>
</template>

<script>
	export default {
		name:"empt",
		props: {
			list: {
				type: Array,
				default: [],
			},
			text: {
				type: String,
				default: "暂无数据"
			},
			mode: {
				type: String,
				default: "list"
			},
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style>

</style>